#ifndef __STORMWIDGET_CONFIGMANAGE_CENUMREGEDIT_ENUMREGEDIT_H
#define __STORMWIDGET_CONFIGMANAGE_CENUMREGEDIT_ENUMREGEDIT_H
#include "..\\StormWidgetUILibrary\\StdString.h"

class CEnumRegedit
{
public:
	CEnumRegedit(void);
	virtual ~CEnumRegedit(void);
	//BOOL FindVersion(LPCTSTR szProcess,UINT& nVersion);
	BOOL FindVersion(LPCTSTR szProcess,CStdString& strVersionReturn);
	//BOOL FindVersionByKey(LPCTSTR strKey,LPCTSTR strPath,LPCTSTR strValue,UINT& nVersion);
	BOOL FindVersionByKey(LPCTSTR strKey,LPCTSTR strPath,LPCTSTR strValue,CStdString& strVersion);
private:
	BOOL FindExePath(LPCTSTR szRegedit,TCHAR* szExePath);
	//BOOL GetExeVersion(LPCTSTR szFileName,UINT& nVersion);
	BOOL GetExeVersion(LPCTSTR szFileName,CStdString& strVersionReturn);
};
#endif //__STORMWIDGET_CONFIGMANAGE_CENUMREGEDIT_ENUMREGEDIT_H
